how to find periodic of given signals